<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OptProjectInfo.aspx.cs" Inherits="ProjectInfo" Culture="auto:en-US" UICulture="auto" EnableSessionState="True" MaintainScrollPositionOnPostback="true" meta:resourcekey="PageResource1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>IPMS</title>
    <link href="Ip.css" rel="stylesheet" type="text/css" />
</head>
<body style="width: 680px;">
    <form id="form1" runat="server">
		<asp:ScriptManager ID="ScriptManager1" runat="server"/>
		<asp:ImageButton ID="ibProjectInfo" runat="server" ImageUrl="~/Images/p_ProjInfo-en-us.gif" meta:resourcekey="ibProjectInfoResource1" OnClick="OnProjectClick" />
		<asp:ImageButton ID="ibViewDoc" runat="server" ImageUrl="~/Images/p_ViewDoc-en-us.gif" meta:resourcekey="ibViewDocResource1" OnClick="OnProjectClick" />
		<asp:ImageButton ID="ibProjectHeaderInfo" runat="server" ImageUrl="~/Images/p_AppProc-en-us.gif" meta:resourcekey="ibProjectHeaderInfoResource1" OnClick="OnProjectClick" />
		<asp:ImageButton ID="ibExpenditure" runat="server" ImageUrl="~/Images/p_Finance-en-us.gif" meta:resourcekey="ibExpenditureResource1" OnClick="OnProjectClick" />
		<div style="width: 650px;">
			<asp:Panel ID="ProjectListPanel" runat="server" Height="600px" Width="650px" meta:resourcekey="ProjectListPanelResource1" ScrollBars="none">
				<asp:ObjectDataSource ID="ODSProjects" runat="server" OldValuesParameterFormatString="original_{0}"
					SelectMethod="_IPMS_GetProjectByTypeByGroupSp" TypeName="IPTableAdapters.ProjectTableAdapter"
					DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update">
					<UpdateParameters>
						<asp:Parameter Name="Type" Type="String" />
						<asp:Parameter Name="Status" Type="String" />
						<asp:Parameter Name="Country" Type="String" />
						<asp:Parameter Name="Agent" Type="String" />
						<asp:Parameter Name="Title" Type="String" />
						<asp:Parameter Name="Applicant" Type="String" />
						<asp:Parameter Name="Inventor" Type="String" />
						<asp:Parameter Name="ApplicationNo" Type="String" />
						<asp:Parameter Name="PatentNumber" Type="String" />
						<asp:Parameter Name="PriorityDate" Type="DateTime" />
						<asp:Parameter Name="PriorityCountry" Type="String" />
						<asp:Parameter Name="ClientName" Type="String" />
						<asp:Parameter Name="FilingDate" Type="DateTime" />
						<asp:Parameter Name="GrantDate" Type="DateTime" />
						<asp:Parameter Name="FirstFilingYN" Type="Boolean" />
						<asp:Parameter Name="ProjectGroupID" Type="String" />
						<asp:Parameter Name="PublicationNumber" Type="String" />
						<asp:Parameter Name="Remark" Type="String" />
						<asp:Parameter Name="AltContactPerson" Type="String" />
						<asp:Parameter Name="AltContactPersonTitle" Type="String" />
						<asp:Parameter Name="AltContactFax" Type="String" />
						<asp:Parameter Name="AltContactPhone" Type="String" />
						<asp:Parameter Name="AltContactEmailAddress" Type="String" />
						<asp:Parameter Name="UpdateBy" Type="String" />
						<asp:Parameter Name="OwnerGroupID" Type="String" />
						<asp:Parameter Name="ProjectClass" Type="String" />
						<asp:Parameter Name="Priority" Type="Boolean" />
						<asp:Parameter Name="PCTYN" Type="Boolean" />
						<asp:Parameter Name="AgentContactPerson3" Type="String" />
						<asp:Parameter Name="AgentContactFax3" Type="String" />
						<asp:Parameter Name="AgentContactPhone3" Type="String" />
						<asp:Parameter Name="AgentContactEmailAddress3" Type="String" />
						<asp:Parameter Name="AgentContactPerson4" Type="String" />
						<asp:Parameter Name="AgentContactFax4" Type="String" />
						<asp:Parameter Name="AgentContactPhone4" Type="String" />
						<asp:Parameter Name="AgentContactEmailAddress4" Type="String" />
						<asp:Parameter Name="ClientContactPerson3" Type="String" />
						<asp:Parameter Name="ClientContactFax3" Type="String" />
						<asp:Parameter Name="ClientContactPhone3" Type="String" />
						<asp:Parameter Name="ClientContactEmailAddress3" Type="String" />
						<asp:Parameter Name="ClientContactPerson4" Type="String" />
						<asp:Parameter Name="ClientContactFax4" Type="String" />
						<asp:Parameter Name="ClientContactPhone4" Type="String" />
						<asp:Parameter Name="ClientContactEmailAddress4" Type="String" />
						<asp:Parameter Name="UpdateIP" Type="String" />
						<asp:Parameter Name="Original_ProjectCode" Type="String" />
					</UpdateParameters>
					<InsertParameters>
						<asp:Parameter Name="ProjectCode" Type="String" />
						<asp:Parameter Name="Type" Type="String" />
						<asp:Parameter Name="Status" Type="String" />
						<asp:Parameter Name="Country" Type="String" />
						<asp:Parameter Name="Agent" Type="String" />
						<asp:Parameter Name="Title" Type="String" />
						<asp:Parameter Name="Applicant" Type="String" />
						<asp:Parameter Name="Inventor" Type="String" />
						<asp:Parameter Name="ApplicationNo" Type="String" />
						<asp:Parameter Name="PatentNumber" Type="String" />
						<asp:Parameter Name="PriorityDate" Type="DateTime" />
						<asp:Parameter Name="PriorityCountry" Type="String" />
						<asp:Parameter Name="ClientName" Type="String" />
						<asp:Parameter Name="FilingDate" Type="DateTime" />
						<asp:Parameter Name="GrantDate" Type="DateTime" />
						<asp:Parameter Name="FirstFilingYN" Type="Boolean" />
						<asp:Parameter Name="ProjectGroupID" Type="String" />
						<asp:Parameter Name="PublicationNumber" Type="String" />
						<asp:Parameter Name="Remark" Type="String" />
						<asp:Parameter Name="AltContactPerson" Type="String" />
						<asp:Parameter Name="AltContactPersonTitle" Type="String" />
						<asp:Parameter Name="AltContactFax" Type="String" />
						<asp:Parameter Name="AltContactPhone" Type="String" />
						<asp:Parameter Name="AltContactEmailAddress" Type="String" />
						<asp:Parameter Name="CreateBy" Type="String" />
						<asp:Parameter Name="UpdateBy" Type="String" />
						<asp:Parameter Name="OwnerGroupID" Type="String" />
						<asp:Parameter Name="ProjectClass" Type="String" />
						<asp:Parameter Name="Priority" Type="Boolean" />
						<asp:Parameter Name="PCTYN" Type="Boolean" />
						<asp:Parameter Name="AgentContactPerson3" Type="String" />
						<asp:Parameter Name="AgentContactFax3" Type="String" />
						<asp:Parameter Name="AgentContactPhone3" Type="String" />
						<asp:Parameter Name="AgentContactEmailAddress3" Type="String" />
						<asp:Parameter Name="AgentContactPerson4" Type="String" />
						<asp:Parameter Name="AgentContactFax4" Type="String" />
						<asp:Parameter Name="AgentContactPhone4" Type="String" />
						<asp:Parameter Name="AgentContactEmailAddress4" Type="String" />
						<asp:Parameter Name="ClientContactPerson3" Type="String" />
						<asp:Parameter Name="ClientContactFax3" Type="String" />
						<asp:Parameter Name="ClientContactPhone3" Type="String" />
						<asp:Parameter Name="ClientContactEmailAddress3" Type="String" />
						<asp:Parameter Name="ClientContactPerson4" Type="String" />
						<asp:Parameter Name="ClientContactFax4" Type="String" />
						<asp:Parameter Name="ClientContactPhone4" Type="String" />
						<asp:Parameter Name="ClientContactEmailAddress4" Type="String" />
						<asp:Parameter Name="CreateIP" Type="String" />
					</InsertParameters>
					<SelectParameters>
						<asp:QueryStringParameter Name="ProjectGroupID" QueryStringField="pgi" Type="String" />
						<asp:QueryStringParameter Name="ProjectType" QueryStringField="type" Type="String" />
						<asp:SessionParameter Name="superuser" SessionField="SuperUser" Type="Boolean" />
						<asp:SessionParameter DefaultValue="" Name="OwnerGroupID" SessionField="OwnerGroupID"
							Type="String" />
						<asp:SessionParameter DefaultValue="" Name="UserName" SessionField="UserName" Type="String" />
					</SelectParameters>
				</asp:ObjectDataSource>
				<asp:Label ID="lblNoRecords" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="Blue" meta:resourcekey="lblNoRecords" Text="No Records Found" Width="252px"/>
				<asp:GridView CssClass="Grid" ID="GridView1" runat="server" 
						CellPadding="0" 
						CellSpacing="0"
						BorderStyle="None"
						BorderWidth="1px" 
						Font-Names="Tahoma,Verdana,Helvetica,Helvetica-Narrow,sans-serif"
						Font-Size="Small" 
						AutoGenerateColumns="False" 
						DataKeyNames="ProjectCode,Type,Status,Country,Agent,Title,Applicant,Inventor,ApplicationNo,PatentNumber,PriorityDate,PriorityCountry,ClientName,FilingDate,GrantDate,ProjectGroupID,PublicationNumber,Remark,CreateBy,UpdateBy,OwnerGroupID,FirstFilingYN,CountryEnglishName,PriorityCountryEnglishName,AltContactPerson,AltContactPersonTitle,AltContactFax,AltContactPhone,AltContactEmailAddress,ProjectClass,Priority,IsDelete"
						DataSourceID="ODSProjects" 
						BackColor="#DEBA84" 
						BorderColor="#660000" 
						Width="650px" 
						AllowSorting="True" 
						AllowPaging="True" 
						PageSize="13"
						OnSelectedIndexChanged="OnSelectedIndexChanged"
						OnRowCreated="OnRowCreated">
					<Columns>
						<asp:ButtonField DataTextField="ProjectCode" HeaderText="Project Code" SortExpression="ProjectCode" meta:resourcekey="BoundFieldResource61" CommandName="Select"/>
						<asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource1" />
						<asp:BoundField DataField="Status" HeaderText="Status" SortExpression="Status" meta:resourcekey="BoundFieldResource2"/>
						<asp:BoundField DataField="Country" HeaderText="Country" SortExpression="Country" Visible="False" meta:resourcekey="BoundFieldResource3"/>
						<asp:BoundField DataField="CountryEnglishName" HeaderText="Country" SortExpression="CountryEnglishName" meta:resourcekey="BoundFieldResource4"/>
						<asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" meta:resourcekey="BoundFieldResource5"/>
						<asp:BoundField DataField="Applicant" HeaderText="Applicant" SortExpression="Applicant" meta:resourcekey="BoundFieldResource6"/>
						<asp:BoundField DataField="ApplicationNo" HeaderText="Application No" SortExpression="ApplicationNo" meta:resourcekey="BoundFieldResource7"/>
						<asp:BoundField DataField="Inventor" HeaderText="Inventor" SortExpression="Inventor" meta:resourcekey="BoundFieldResource8"/>
					</Columns>
					<HeaderStyle CssClass="GridHeaderStyle" ForeColor="White"/>
					<RowStyle CssClass="GridRowStyle" />
					<AlternatingRowStyle CssClass="GridAltRowStyle" />
					<SelectedRowStyle CssClass="GridSelectedRowStyle" />
					<PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
					<FooterStyle CssClass="GridFooterStyle" />
				</asp:GridView>
			</asp:Panel>
			<table style="width: 650px; text-align: center">
				<tr>
					<td style="height: 15px">
						<asp:Button ID="btnNew" Text="New" meta:resourcekey='btnAdd' CssClass="submit" CausesValidation="False" Visible="False" runat="server" OnClick="OnClick"/>
						<asp:Button ID="btnModify" Text="Edit" meta:resourcekey='btnUpdate' CssClass="submit" CausesValidation="False" runat="server" OnClick="OnClick"/>
						<asp:Button ID="btnSave" Text="Save" meta:resourcekey='btnSave' CssClass="submit" Enabled="False" runat="server" OnClick="OnClick"/>
						<asp:Button ID="btnDelete" Text="Delete" meta:resourcekey='btnDelete' CssClass="submit" CausesValidation="False" runat="server" OnClick="OnClick"/>
						<asp:Button ID="btnRestore" Text="Restore" meta:resourcekey='btnRestore' CssClass="submit" CausesValidation="False" runat="server" OnClick="OnClick"/>
						<asp:Button ID="btnCancel" Text="Cancel" meta:resourcekey='btnCancel' CssClass="reset" CausesValidation="False" runat="server" OnClick="OnClick"/>
					</td>
				</tr>
			</table>
			<table style="width: 650px; text-align: center">
				<tr>
					<td style="vertical-align: top; text-align: center; height: 20px;">
						<asp:Label ID="lblError" CssClass="error" runat="server"/>
					</td>
				</tr>
				<tr>
					<td style="text-align: left;">
						<asp:ImageButton ID="ibGeneral" ImageUrl="~/Images/a_General_blue-en-us.gif" meta:resourcekey="ibGeneralResource1" runat="server" OnClick="OnProjectClick"/>
						<asp:ImageButton ID="ibAgent" ImageUrl="~/Images/a_agent_blue-en-us.gif" meta:resourcekey="ibAgentResource1" runat="server" OnClick="OnProjectClick"/>
						<asp:ImageButton ID="ibClient" ImageUrl="~/Images/a_Client_blue-en-us.gif" meta:resourcekey="ibClientResource1" runat="server" OnClick="OnProjectClick"/>
						<asp:ImageButton ID="ibOthers" ImageUrl="~/Images/a_Others_blue-en-us.gif" meta:resourcekey="ibOthersResource1" runat="server" OnClick="OnProjectClick"/>
					</td>
				</tr>
			</table>
		</div>
		<asp:Panel ID="PrjInfoPanel" runat="server" Height="470px" Width="650px" Visible="False" meta:resourcekey="PrjInfoPanelResource2">
			<asp:Panel ID="PanelGeneral" runat="server" BorderWidth="1px" BorderColor="Black" Visible="False" Height="620px" Width="710px" meta:resourcekey="PanelGeneralResource1">
				<table style="width: 700px">
					<tr id="PGID">
						<td width="150" align="left">
							<asp:Label ID="lblProjectGroupID" runat="server" Text="Project Group ID" meta:resourcekey="lblProjectGroupIDResource1"/>
						</td>
						<td width="300" align="left">
							<asp:TextBox ID="txtProjectGroupID" runat="server" CssClass="required" Width="136px" MaxLength="30" AutoPostBack="True" OnTextChanged="OnTextChanged"/>
							<asp:Button ID="btnPGI" runat="server" Text="..." CausesValidation="False" OnClick="OnClick" OnClientClick="window.showModalDialog('FilterProjectGroup.aspx', '', 'width=1200,height=400,left=400,top=300,dependent=yes,scrollbars=no');" />
							<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtProjectGroupID" Display="Dynamic" ErrorMessage="Project Group ID  is required"/>
						</td>
						<td width="100" align="left">
							<asp:Label ID="lblType" runat="server" Text="Type" meta:resourcekey='lblType'/>
						</td>
						<td width="250" align="left">
							<asp:DropDownList ID="ddlType" CssClass="required" Visible="False" runat="server"/>
							<asp:TextBox ID="txtType" runat="server" CssClass="required" Width="108px" Enabled="False"/>
						</td>
					</tr>
					<tr>
						<td align="left">
							<asp:Label ID="lblProjectCode" runat="server" Text="Project Code" Height="8px" meta:resourcekey='lblProjectCode' Visible="True"/>
						</td>
						<td align="left">
							<asp:TextBox ID="txtProjectCode" runat="server" Width="136px" MaxLength="30" CssClass="required" meta:resourcekey="txtProjectCodeResource1"/>
							<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProjectCode" Display="Dynamic" ErrorMessage="Project Code is required" meta:resourcekey="RequiredFieldValidator1Resource1"/>
						</td>
						<td align="left">
							<asp:Label ID="lblProjectClass" runat="server" meta:resourcekey="lblProjectClass" Text="Project Class"/>
						</td>
						<td align="left" colspan="2">
							<asp:TextBox ID="txtProjectClass" runat="server" MaxLength="30" Width="130px" meta:resourcekey="txtProjectClassResource1"/>
							<asp:Button ID="btnProjectClass" runat="server" CausesValidation="False" Text="..." meta:resourcekey="btnProjectClassResource1" />
						</td>
					</tr>
					<tr>
						<td align="left">
							<asp:Label ID="lblCountry" runat="server" Text="Country" meta:resourcekey='lblCountry'/>
						</td>
						<td align="left">
							<asp:DropDownList ID="ddlCountry" Width="180px" CssClass="required" AutoPostBack="True" runat="server" OnPreRender="OnPreRender" OnSelectedIndexChanged="OnSelectedIndexChanged"/>
							<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="ddlCountry" ErrorMessage="Country is required" Display="Dynamic" meta:resourcekey="RequiredFieldValidator4Resource1"/>
							<asp:CheckBox ID="chkPCT" runat="server" Enabled="False" Text="PCT" meta:resourcekey="chkPCTResource1" AutoPostBack="True" OnCheckedChanged="OnCheckedChanged" />
						</td>
						<td align="left">
							<asp:Label ID="lblStatus" runat="server" Text="Status" meta:resourcekey='lblStatus'/>
						</td>
						<td align="left">
							<asp:DropDownList ID="ddlStatus" Width="103px" runat="server" OnPreRender="OnPreRender"/>
						</td>
					</tr>
					<tr>
						<td align="left">
							<asp:Label ID="lblTitleSubject" runat="server" Text="Title/Subject" meta:resourcekey='lblTitleSubject'/>
						</td>
						<td align="left" colspan="3">
							<asp:TextBox ID="txtTitleSubject" runat="server" Width="550px" MaxLength="60" meta:resourcekey="txtTitleSubjectResource1"/>
						</td>
					</tr>
					<tr>
						<td align="left">
							<asp:Label ID="lblApplicant" runat="server" Text="Applicant" meta:resourcekey='lblApplicant'/>
						</td>
						<td align="left" colspan="3">
							<asp:TextBox ID="txtApplicant" runat="server" Width="550px" MaxLength="30" meta:resourcekey="txtApplicantResource1"/>
						</td>
					</tr>
					<tr>
						<td align="left">
							<asp:Label ID="lblInventor" runat="server" Text="Author" meta:resourcekey='lblInventor'/>
						</td>
						<td align="left" colspan="3">
							<asp:TextBox ID="txtInventor" runat="server" Width="550px" MaxLength="30" meta:resourcekey="txtInventorResource1"/>
						</td>
					</tr>
					<tr>
						<td align="left">
							<asp:Label ID="lblApplicationNo" runat="server" Text="Application Number" meta:resourcekey='lblApplicationNo'/>
						</td>
						<td align="left">
							<asp:TextBox ID="txtApplicationNo" runat="server" MaxLength="30" meta:resourcekey="txtApplicationNoResource1"/>
						</td>
						<td align="left">
							<asp:Label ID="lblPatentNumber" runat="server" Text="Patent Number" meta:resourcekey="Label3Resource1"/>
						</td>
						<td align="left">
							<asp:TextBox ID="txtPatentNumber" AutoPostBack="True" MaxLength="30" runat="server" OnTextChanged="OnTextChanged"/>
						</td>
					</tr>
					<tr>
						<td height="10"></td>
					</tr>
				</table>
				<asp:Panel ID="Panel1" runat="server" Height="130px" Width="680px">
					<fieldset style="margin-left:10px">
						<table style="width: 680px">
							<tr>
								<td width="150" align="left">
									<asp:Label ID="lblPriorityDate" runat="server" Text="Priority Date" meta:resourcekey="lblPriorityDateResource1"></asp:Label>
								</td>
								<td width="200" align="left">
									<cc1:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="txtPriorityDate" Enabled="True" Format="dd/MM/yyyy"/>
									<asp:TextBox ID="txtPriorityDate" runat="server" Width="71px" meta:resourcekey="txtPriorityDateResource1"></asp:TextBox>
									<asp:CheckBox ID="chkPriority" runat="server" AutoPostBack="True" OnCheckedChanged="OnCheckedChanged" Text="Priority" meta:resourcekey="chkPriorityResource1" />
								</td>
								<td width="100" align="left">
									<asp:Label ID="lblPriorityCountry" runat="server" Text="Priority Country" meta:resourcekey="lblPriorityCountryResource1"></asp:Label>
								</td>
								<td width="250" align="left">
									<asp:DropDownList ID="ddlPriorityCountry" Width="180px" runat="server" OnPreRender="OnPreRender"/>
								</td>
							</tr>
							<tr>
								<td align="left">
									<asp:Label ID="lblGrantDate" runat="server" meta:resourcekey="lblGrantDate" Text="Grant Date"></asp:Label>
								</td>
								<td align="left">
									<asp:TextBox ID="txtGrantDate" AutoPostBack="True" runat="server" OnTextChanged="OnTextChanged"></asp:TextBox>
								</td>
								<td align="left">
									<asp:Label ID="lblFilingDate" runat="server" Text="Filing Date" meta:resourcekey='lblFilingDate'></asp:Label>
								</td>
								<td align="left">
									<asp:TextBox ID="txtFilingDate" runat="server" Width="71px" AutoPostBack="True"/>
									<asp:CheckBox ID="chkFirstFiling" runat="server" Height="18px" Width="78px" meta:resourcekey="chkFirstFilingResource1" AutoPostBack="True" OnCheckedChanged="OnCheckedChanged" Text="First Filing" /><br />
									<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtFilingDate" Display="Dynamic" ErrorMessage="Filing Date should not be empty." EnableTheming="False" meta:resourcekey="RequiredFieldValidator5Resource1"></asp:RequiredFieldValidator>&nbsp;&nbsp;
								</td>
							</tr>
							<tr>
								<td align="left">
									<asp:Label ID="lblPublicationNumber" runat="server" Text="Publication Number" meta:resourcekey="lblPublicationNumberResource1"></asp:Label>
								</td>
								<td align="left">
									<asp:TextBox ID="txtPublicationNumber" runat="server" MaxLength="30" Width="130px" meta:resourcekey="txtPublicationNumberResource1"></asp:TextBox>
								</td>
							</tr>
						</table>
					</fieldset>
				</asp:Panel>
				<table style="width: 680px">
					<tr>
						<td height="10"></td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 95px;" colspan="">
							<asp:Label ID="lblRemarks" runat="server" Text="Remarks" meta:resourcekey="lblRemarksResource1"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 299px;" colspan="3">
							<asp:TextBox ID="txtRemarks" runat="server" Height="72px" MaxLength="30" TextMode="MultiLine" Width="96%" meta:resourcekey="txtRemarksResource1"></asp:TextBox>
						</td>
					</tr>
				</table>
				<cc1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="txtGrantDate" Enabled="True" Format="dd/MM/yyyy"/>
				<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtFilingDate" Enabled="True" Format="dd/MM/yyyy"/>
			</asp:Panel>
			<asp:Panel ID="PanelAgent" runat="server" Height="620px" Width="710px" BorderWidth="1px" BorderColor="Black" Visible="False" meta:resourcekey="PanelAgentResource1">
				<table style="width: 700px">
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgent" runat="server" Text="Agent Name" meta:resourcekey="lblAgentResource1"></asp:Label>
						</td>
						<td colspan="6" style="vertical-align: top; text-align: left">
							<asp:TextBox ID="txtAgent" runat="server" ReadOnly="True" MaxLength="30"/>
							<asp:Button ID="btnAgent" Text="..." CausesValidation="False" runat="server" OnClick="OnClick" OnClientClick="window.showModalDialog('FilterAgent.aspx', '', 'width=400,height=400,left=400,top=300,dependent=yes,scrollbars=no');" />
							<asp:TextBox ID="txtAgentName" runat="server" MaxLength="30" Width="174px" ReadOnly="True" CssClass="lookup"/>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;" colspan="">
							<asp:Label ID="lblAgentChineseName" runat="server" meta:resourcekey="lblAgentChineseNameResource1" Text="Agent Chinese Name"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 283px;" colspan="5">
							<asp:TextBox ID="txtAgentChineseName" runat="server" meta:resourcekey="txtAgentChineseNameResource1"
								ReadOnly="True" CssClass="lookup" Width="252px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px; height: 31px;" colspan="">
							<asp:Label ID="lblAgentAddress" runat="server" Text="Address" meta:resourcekey='lblAgentAddress'></asp:Label>
						</td>
						<td colspan="5" style="vertical-align: top; width: 283px; text-align: left; height: 31px;">
							<asp:TextBox ID="txtAgentAddress" runat="server" Height="30px" MaxLength="30" TextMode="MultiLine"
								Width="325px" meta:resourcekey="txtAgentAddressResource1" ReadOnly="True" CssClass="lookup"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;" colspan="">
							<asp:Label ID="lblAgentWebSite" runat="server" Text="WebSite" meta:resourcekey="lblAgentWebSiteResource1"></asp:Label>
						</td>
						<td colspan="5" style="vertical-align: top; width: 283px; text-align: left">
							<asp:TextBox ID="txtAgentWebSite" runat="server" MaxLength="30" Width="209px" ReadOnly="True"
								CssClass="lookup" meta:resourcekey="txtAgentWebSiteResource1"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgentContactPerson" runat="server" Text="Contact Person" meta:resourcekey='lblAgentContactPerson'></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentContactPerson" runat="server" MaxLength="30" meta:resourcekey="txtAgentContactPersonResource1"
								ReadOnly="True" CssClass="lookup" Width="220px"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							&nbsp;<asp:Label ID="lblAgentContactPerson2" runat="server" Text="Contact Person 2"
								Width="91%" meta:resourcekey="lblAgentContactPerson2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentContactPerson2" runat="server" MaxLength="30" Width="161px"
								ReadOnly="True" CssClass="lookup" meta:resourcekey="txtAgentMobilePhoneResource1"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgentPhoneNo" runat="server" Text="Phone Number" meta:resourcekey="lblAgentPhoneNoResource1"></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentPhoneNo" runat="server" MaxLength="30" Width="220px" ReadOnly="True"
								CssClass="lookup" meta:resourcekey="txtAgentPhoneNoResource2"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							<asp:Label ID="lblAgentPhoneNo2" runat="server" Text="Phone Number 2" meta:resourcekey="lblAgentPhoneNo2Resource1"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentPhoneNo2" runat="server" MaxLength="30" Width="160px" ReadOnly="True"
								CssClass="lookup" meta:resourcekey="txtAgentPhoneNo2Resource1"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgentFaxNo" runat="server" Text="Fax Number" meta:resourcekey='lblAgentFaxNo'></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentFaxNo" runat="server" MaxLength="30" meta:resourcekey="txtAgentFaxNoResource1"
								ReadOnly="True" CssClass="lookup" Width="220px"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							<asp:Label ID="lblAgentFaxNo2" runat="server" Text="Fax Number 2" meta:resourcekey="lblAgentFaxNo2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentFaxNo2" runat="server" MaxLength="30" Width="161px" ReadOnly="True"
								CssClass="lookup" meta:resourcekey="txtAgentMobilePhone2Resource1"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgentEmailAddress" runat="server" Text="Email" meta:resourcekey="lblAgentEmailAddressResource1"></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentEmailAddress" runat="server" MaxLength="30" Width="220px" ReadOnly="True" CssClass="lookup" meta:resourcekey="txtAgentEmailAddressResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							<asp:Label ID="lblAgentEmailAddress2" runat="server" Text="Email 2" meta:resourcekey="lblAgentEmailAddress2Resource1"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentEmailAddress2" runat="server" MaxLength="30" Width="159px"
								ReadOnly="True" CssClass="lookup" meta:resourcekey="txtAgentEmailAddress2Resource1"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
								<td style="vertical-align: top; text-align: right; width: 240px;">
									<td style="vertical-align: top; text-align: left; width: 293px;">
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgentContactPerson3" runat="server" Text="Contact Person 3" meta:resourcekey="lblContactPerson3"></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentContactPerson3" runat="server" MaxLength="30" Width="220px"
								meta:resourcekey="txtAltContactPersonResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							<asp:Label ID="lblAgentContactPerson4" runat="server" meta:resourcekey="lblContactPerson4" Text="Contact Person 4"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentContactPerson4" runat="server" MaxLength="30" meta:resourcekey="txtAltContactPersonResource1" Width="160px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgentContactPhone3" runat="server" Text="Phone Number 3" meta:resourcekey="lblContactPhon3"></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentContactPhone3" runat="server" MaxLength="30" Width="220px"
								meta:resourcekey="txtAltContactPhoneResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							<asp:Label ID="lblAgentContactPhone4" runat="server" meta:resourcekey="lblContactPhone4" Text="Phone Number 4"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentContactPhone4" runat="server" MaxLength="30" meta:resourcekey="txtAltContactPhoneResource1"
								Width="158px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							&nbsp;<asp:Label ID="lblAgentContactFax3" runat="server" Text="Fax Number 3" Width="92%"
								meta:resourcekey="lblContactFax3"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentContactFax3" runat="server" MaxLength="30" Width="220px"
								meta:resourcekey="txtAltContactFaxResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							<asp:Label ID="lblAgentContactFax4" runat="server" meta:resourcekey="lblContactFax4"
								Text="Fax Number 4" Width="92%"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentContactFax4" runat="server" MaxLength="30" meta:resourcekey="txtAltContactFaxResource1"
								Width="158px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 199px;">
							<asp:Label ID="lblAgentContactEmail3" runat="server" meta:resourcekey="lblContactEmail3" Text="Email 3"></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 321px;" colspan="2">
							<asp:TextBox ID="txtAgentContactEmail3" runat="server" MaxLength="30" meta:resourcekey="txtAltContactEmailAddressResource1"
								Width="220px"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 240px;">
							<asp:Label ID="lblAgentContactEmail4" runat="server" meta:resourcekey="lblContactEmail4" Text="Email 4"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 293px;">
							<asp:TextBox ID="txtAgentContactEmail4" runat="server" MaxLength="30" meta:resourcekey="txtAltContactEmailAddressResource1"
								Width="159px"></asp:TextBox>
						</td>
					</tr>
				</table>
			</asp:Panel>
			<asp:Panel ID="PanelClient" runat="server" Height="620px" Width="710px" BorderWidth="1px"
				BorderColor="Black" Visible="False" meta:resourcekey="PanelClientResource1">
				<table style="width: 700px">
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px;" colspan="1">
							<asp:Label ID="lblClient" runat="server" Text="Client Name" meta:resourcekey="lblClientResource2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 577px;" colspan="5">
							<asp:TextBox ID="txtClient" MaxLength="30" ReadOnly="True" runat="server"/>
							<asp:Button ID="btnClient" Text="..." CausesValidation="False" runat="server" OnClick="OnClick" OnClientClick="window.showModalDialog('FilterClient.aspx', '', 'width=400,height=400,left=400,top=300,dependent=yes,scrollbars=no');" />
							<asp:TextBox ID="txtClientName" Width="130px" ReadOnly="True" CssClass="lookup" runat="server"/>
						</td>
					</tr>
					<tr>
						<td colspan="1" style="vertical-align: top; width: 156px; text-align: right">
							<asp:Label ID="lblClientChineseName" runat="server" Text="Client Chinese Name" meta:resourcekey="lblClientChineseNameResource1"></asp:Label>
						</td>
						<td colspan="5" style="vertical-align: top; text-align: left; width: 577px;">
							<asp:TextBox ID="txtClientChineseName" runat="server" ReadOnly="True" CssClass="lookup"
								meta:resourcekey="txtClientChineseNameResource1" Width="189px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td colspan="1" style="vertical-align: top; width: 156px; text-align: right">
							<asp:Label ID="lblClientAddress" runat="server" Text="Address" meta:resourcekey="lblClientAddressResource2"></asp:Label>
						</td>
						<td colspan="5" style="vertical-align: top; text-align: left; width: 577px;">
							<asp:TextBox ID="txtClientAddress" runat="server" Height="30px" MaxLength="30" TextMode="MultiLine"
								Width="195px" ReadOnly="True" CssClass="lookup" meta:resourcekey="txtClientAddressResource2"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td colspan="1" style="vertical-align: top; width: 156px; text-align: right">
							<asp:Label ID="lblClientWebSite" runat="server" Text="WebSite" meta:resourcekey="lblClientWebSiteResource1"></asp:Label>&nbsp;
						</td>
						<td colspan="5" style="vertical-align: top; text-align: left; width: 577px;">
							&nbsp;<asp:TextBox ID="txtClientWebSite" runat="server" ReadOnly="True" CssClass="lookup"
								meta:resourcekey="txtClientWebSiteResource1" Width="171px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px; height: 34px;" colspan="1">
							<asp:Label ID="lblClientContactPerson" runat="server" Text="Contact Person" meta:resourcekey="lblClientContactPersonResource2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; height: 34px;" colspan="2">
							<asp:TextBox ID="txtClientContactPerson" runat="server" MaxLength="30" Width="176px"
								ReadOnly="True" CssClass="lookup" meta:resourcekey="txtClientContactPersonResource2"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 110px; height: 34px;">
							<asp:Label ID="blClientContactPerson2" runat="server" Text="Contact Person 2" meta:resourcekey="lblClientContactPerson2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; height: 34px; width: 176px;">
							<asp:TextBox ID="txtClientContactPerson2" runat="server" ReadOnly="True" CssClass="lookup"
								meta:resourcekey="txtClientMobilePhoneResource1" Width="150px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px;" colspan="1">
							<asp:Label ID="lblClientPhoneNumber" runat="server" Text="Phone Number" meta:resourcekey="lblClientPhoneNumberResource2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 498px;" colspan="2">
							<asp:TextBox ID="txtClientPhone" runat="server" MaxLength="30" ReadOnly="True" Width="174px"
								CssClass="lookup" meta:resourcekey="txtClientPhoneResource2"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 110px;">
							<asp:Label ID="lblClientPhone2" runat="server" Text="Phone Number 2" meta:resourcekey="lblClientPhone2Resource1"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 176px;">
							<asp:TextBox ID="txtClientPhone2" runat="server" MaxLength="30" ReadOnly="True" Width="150px"
								CssClass="lookup" meta:resourcekey="txtClientPhone2Resource1"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td colspan="1" style="vertical-align: top; width: 156px; text-align: right">
							<asp:Label ID="lblClientFaxNumber" runat="server" Text="Fax Number" meta:resourcekey="lblClientFaxNumberResource2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 498px;" colspan="2">
							<asp:TextBox ID="txtClientFax" runat="server" MaxLength="30" Width="172px" ReadOnly="True"
								CssClass="lookup" meta:resourcekey="txtClientFaxResource2"></asp:TextBox>
						</td>
						<td style="vertical-align: top; width: 110px; text-align: right">
							&nbsp;<asp:Label ID="lblClientFax2" runat="server" Text="Fax Number 2" meta:resourcekey="lblClientFax2"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 176px;">
							<asp:TextBox ID="txtClientFax2" runat="server" ReadOnly="True" CssClass="lookup" meta:resourcekey="txtClientMobilePhone2Resource1" Width="150px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td colspan="1" style="vertical-align: top; width: 156px; text-align: right; height: 14px;">
							<asp:Label ID="lblClientEmailAddress" runat="server" Text="Email" meta:resourcekey="lblClientEmailAddressResource1"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 498px; height: 14px;" colspan="2">
							<asp:TextBox ID="txtClientEmailAddress" runat="server" MaxLength="30" Width="169px"
								ReadOnly="True" CssClass="lookup" meta:resourcekey="txtClientEmailAddressResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; width: 110px; text-align: right; height: 14px;">
							<asp:Label ID="lblClientEmailAddress2" runat="server" Text="Email 2" meta:resourcekey="lblClientEmailAddress2Resource1"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; height: 14px; width: 176px;">
							<asp:TextBox ID="txtClientEmailAddress2" runat="server" ReadOnly="True" CssClass="lookup"
								meta:resourcekey="txtClientEmailAddress2Resource1" Width="150px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px;">
							<td style="vertical-align: top; text-align: left; width: 323px;" colspan="2">
								<td style="vertical-align: top; text-align: right; width: 110px;">
									<td style="vertical-align: top; text-align: left; width: 176px;">
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px;">
							<asp:Label ID="lblClientContactPerson3" runat="server" Text="Contact Person 3" meta:resourcekey="lblContactPerson3"></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 323px;" colspan="2">
							<asp:TextBox ID="txtClientContactPerson3" runat="server" MaxLength="30" Width="168px"
								meta:resourcekey="txtAltContactPersonResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 110px;">
							<asp:Label ID="lblClientContactPerson4" runat="server" meta:resourcekey="lblContactPerson4" Text="Contact Person 4"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 176px;">
							<asp:TextBox ID="txtClientContactPerson4" runat="server" MaxLength="30" meta:resourcekey="txtAltContactPersonResource1"
								Width="150px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px;">
							<asp:Label ID="lblClientContactPhone3" runat="server" Text="Phone Number 3" meta:resourcekey="lblContactPhon3"></asp:Label>&nbsp;
						</td>
						<td style="vertical-align: top; text-align: left; width: 323px;" colspan="2">
							<asp:TextBox ID="txtClientContactPhone3" runat="server" MaxLength="30" Width="168px"
								meta:resourcekey="txtAltContactPhoneResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 110px;">
							<asp:Label ID="lblClientContactPhone4" runat="server" meta:resourcekey="lblContactPhone4" Text="Phone Number 4"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 176px;">
							<asp:TextBox ID="txtClientContactPhone4" runat="server" MaxLength="30" Width="150px"/>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px;">
							<asp:Label ID="lblClientContactFax3" runat="server" Text="Fax Number 3" meta:resourcekey="lblContactFax3"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 323px;" colspan="2">
							<asp:TextBox ID="txtClientContactFax3" runat="server" MaxLength="30" Width="168px"
								meta:resourcekey="txtAltContactFaxResource1"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 110px;">
							<asp:Label ID="lblClientContactFax4" runat="server" meta:resourcekey="lblContactFax4"
								Text="Fax Number 4" Width="92%"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 176px;">
							<asp:TextBox ID="txtClientContactFax4" runat="server" MaxLength="30" meta:resourcekey="txtAltContactFaxResource1"
								Width="150px"></asp:TextBox>
						</td>
					</tr>
					<tr>
						<td style="vertical-align: top; text-align: right; width: 156px;">
							<asp:Label ID="lblClientContactEmail3" runat="server" meta:resourcekey="lblContactEmail3" Text="Email 3"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 323px;" colspan="2">
							<asp:TextBox ID="txtClientContactEmail3" runat="server" MaxLength="30" meta:resourcekey="txtAltContactEmailAddressResource1"
								Width="168px"></asp:TextBox>
						</td>
						<td style="vertical-align: top; text-align: right; width: 110px;">
							<asp:Label ID="lblClientContactEmail4" runat="server" meta:resourcekey="lblContactEmail4" Text="Email 4"></asp:Label>
						</td>
						<td style="vertical-align: top; text-align: left; width: 176px;">
							<asp:TextBox ID="txtClientContactEmail4" runat="server" MaxLength="30" meta:resourcekey="txtAltContactEmailAddressResource1"
								Width="150px"></asp:TextBox>
						</td>
					</tr>
				</table>
			</asp:Panel>
			<asp:Panel ID="PanelOther" runat="server" Height="620px" Width="710px" BorderWidth="1px" BorderColor="Black" Visible="False">
				<table style="width: 650px;">
					<tr>
						<td style="height: 350px; width: 447px;">
							<asp:Panel ID="Panel13" runat="server" BorderStyle="Solid" Height="350px" Width="95%">
								<asp:Label ID="lblProjectResponsiblePerson" Text="Project Responsible Person(s)" CssClass="labelbar" Width="100%" runat="server"/>
								<asp:GridView CssClass="Grid" ID="grdProjectResponsiblePerson" runat="server" 
										AutoGenerateColumns="False"
										BackColor="#DEBA84" 
										BorderColor="#660000" 
										BorderStyle="None" 
										BorderWidth="1px"
										CellPadding="0" 
										CellSpacing="0" 
										DataKeyNames="ProjectCode,ResponsiblePerson"
										Width="100%" 
										AllowPaging="True">
									<FooterStyle CssClass="GridFooterStyle" BackColor="#F7DFB5" ForeColor="#8C4510" />
									<Columns>
										<asp:BoundField DataField="UserName" HeaderText="Responsible Person(s)" ReadOnly="True" SortExpression="ResponsiblePerson" meta:resourcekey="BoundFieldResource63"/>
									</Columns>
									<RowStyle CssClass="GridRowStyle" />
									<AlternatingRowStyle CssClass="GridAltRowStyle" />
									<SelectedRowStyle CssClass="GridSelectedRowStyle" />
									<PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
									<HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
								</asp:GridView>
							</asp:Panel>
						</td>
						<td style="height: 350px; width: 447px;">
							<asp:Panel ID="Panel14" runat="server" BorderStyle="Solid" Height="350px">
								<asp:Label ID="lblProjectProduct" Text="Project Product" CssClass="labelbar" Width="100%" runat="server"/>
								<asp:GridView ID="grdProjectProduct" runat="server" 
										CssClass="Grid" 
										AutoGenerateColumns="False"
										BackColor="#DEBA84" 
										BorderColor="#660000" 
										BorderStyle="None" 
										BorderWidth="1px"
										CellPadding="0" 
										CellSpacing="0" 
										DataKeyNames="Model,ProjectCode" 
										Width="100%" 
										AllowPaging="True">
									<Columns>
										<asp:BoundField DataField="Model" HeaderText="Model" ReadOnly="True" SortExpression="Model"/>
									</Columns>
									<HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
									<RowStyle CssClass="GridRowStyle" />
									<AlternatingRowStyle CssClass="GridAltRowStyle" />
									<SelectedRowStyle CssClass="GridSelectedRowStyle" />
									<PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
									<FooterStyle CssClass="GridFooterStyle" ForeColor="#8C4510" />
								</asp:GridView>
							</asp:Panel>
						</td>
					</tr>
					<tr>
						<td>
							<asp:Button ID="lbResponsiblePerson" 
								Text="Assign Responsible Person"
								CssClass="submit"
								Width="200px"
								meta:resourcekey="lbResponsiblePersonResource1"
								runat="server" 
								OnClick="OnClick" 
								OnClientClick="window.showModalDialog('OptRespPerson.aspx', '', 'dialogHeight:350px; dialogWidth: 700px; dialogTop: 197px; dialogLeft: 894px; edge: Raised; center: Yes; resizable: No; status: Yes');">
							</asp:Button>
						</td>
						<td></td>
					</tr>
				</table>
			</asp:Panel>
		</asp:Panel>
		<asp:Panel ID="Panel10" runat="server" CssClass="modalPopup" Height="435px" Style="display: none" Width="567px">
			<asp:Panel ID="Panel11" runat="server" Height="20px" Style="border-right: gray 1px solid; border-top: gray 1px solid; border-left: gray 1px solid; cursor: move; color: black; border-bottom: gray 1px solid; background-color: #dddddd" Width="567px">
				<div>Select Project Class</div>
			</asp:Panel>
			<table style="width: 453px">
				<tr>
					<td align="center">
						<asp:Button ID="btnProjectClassOK" Text="OK" CssClass="reset" meta:resourcekey="OKProjectClassButtonResource1" runat="server" OnClick="OnProjectClassClick"/>
						<asp:Button ID="btnProjectClassSetBlank" Text="Set Blank" CssClass="submit" meta:resourcekey="OkButtonResource1" runat="server" OnClick="OnProjectClassClick"/>
						<asp:Button ID="btnProjectClassCancel" Text="Cancel" CssClass="reset" meta:resourcekey="CancelButtonResource1" runat="server"/>
					</td>
				</tr>
			</table>
			<asp:UpdatePanel ID="UpdatePanel2" runat="server">
				<ContentTemplate>
					<asp:Panel ID="Panel12" runat="server" Height="80%" meta:resourcekey="Panel7Resource1" Width="560px">
						<div style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
							<asp:GridView ID="gvChooseProjectClass" runat="server" 
									AutoGenerateColumns="False" 
									CssClass="Grid"
									BackColor="#DEBA84" 
									BorderColor="#660000" 
									BorderStyle="None" 
									BorderWidth="1px"
									CellPadding="0" 
									CellSpacing="0" 
									DataKeyNames="ProjectClass,Description" 
									Height="1px" 
									Width="447px" 
									AllowPaging="True"
									OnSelectedIndexChanged="OnSelectedIndexChanged">
								<Columns>
									<asp:ButtonField CommandName="Select" DataTextField="ProjectClass" HeaderText="ProjectClass" SortExpression="Client" Text="ProjectClass" />
									<asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
								</Columns>
								<HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
								<RowStyle CssClass="GridRowStyle" />
								<AlternatingRowStyle CssClass="GridAltRowStyle" />
								<SelectedRowStyle CssClass="GridSelectedRowStyle" />
								<PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
								<FooterStyle CssClass="GridFooterStyle" ForeColor="White" />
							</asp:GridView>
						</div>
					</asp:Panel>
				</ContentTemplate>
			</asp:UpdatePanel>
		</asp:Panel>
		<cc1:ModalPopupExtender ID="ModalPopupExtender3" runat="server" BackgroundCssClass="modalBackground" CancelControlID="btnProjectClassCancel" DropShadow="True" DynamicServicePath="" Enabled="True" OkControlID="btnProjectClass" PopupControlID="Panel10" PopupDragHandleControlID="Panel11" TargetControlID="btnProjectClass"/>
		<asp:CheckBox ID="chkForOperation" runat="server" meta:resourcekey="chkForOperationResource1" Visible="False" />
		<asp:CheckBox ID="chkForUpdate" runat="server" Height="2px" meta:resourcekey="cbForUpdateResource1" Visible="False" Width="121px" />
    </form>
</body>
</html>
